#ifndef FB_H_INCLUDED
#define FB_H_INCLUDED

#include "feedback.h"

#define ID_FB_ERROR     0x02
#define ID_FB_ERROR_R   0x10

#define ID_FB_SENSOR    0x0A
#define ID_FB_SENSOR_R  0x0F

int fb_get_error_state(MH_UDP *pudp, int *state, int type);
int fb_get_sensor_state(MH_UDP *pudp, int *state, int type);
int fb_get_crg_state(MH_UDP *pudp, CRGSTATE *crgstate, int type);

#endif // FB_H_INCLUDED
